package com.vueapi.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;

/**
 * @Classname CommentsVo
 * @Description TODO
 * @Created by 赵宏建
 * @Date 2023/8/2 16:45
 * @Version 1.0.0
 */
@Data
public class CommentsVo {

    private Integer id;

    private Integer blogId;

    private String commentator;

    private String email;

    private String content;

    private String ipSource;

    private String toUser;

    private String websiteUrl;

    // 用于前端的展示，是否显示回复按钮
    private Boolean showCommentButton = false;

    // 用于前端的展示，是否显示回复框
    private Boolean showComment = false;

    private String timeAgo;

    private Date createTime;

    private ArrayList<CommentsVo> replies;

}
